﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BaseStateEditParameters.aspx.cs" Inherits="NSATBPortal.BaseStateEditParameters" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Edit Base State Parameters</title>
</head>
<body style="font-family: Tahoma; margin: 20px 0px 0px 10px; background-color: lightgray">
    <form id="form1" runat="server">
    <div id="Header" style="font-size: large; background-color: darkblue; color: white;">
        <div style="float: left; font-size: large; background-color: darkblue; color: white; width: 100%;">
        <a href="BaseStateHome.aspx" style="color: white;">Base State List</a>&nbsp;&gt;&nbsp;Base State Parameters
        </div>
    </div>
    <div style="width: 100%; height: 100%; margin: 20px 0px 0px 0px; background-color: lightgray">
        <asp:Menu ID="ActionMenu" runat="server" BackColor="#993333" ForeColor="White" DynamicMenuItemStyle-BackColor="#993333" DynamicMenuItemStyle-ForeColor="White" OnMenuItemClick="ActionMenu_MenuItemClick">
            <Items>
                <asp:MenuItem Text="List Actions" ToolTip="Click here to manipulate items" Value="List Actions">
                    <asp:MenuItem Text="Add Item" ToolTip="Add Parameter" Value="Add Item"></asp:MenuItem>
                </asp:MenuItem>
            </Items>

        </asp:Menu>
        <div style="margin: 20px 0px 0px 0px; height: 100%;">
            <asp:Label ID="lblParent" runat="server" Text="Label" BackColor="#000099" ForeColor="White" Font-Bold="True" Width="50%"></asp:Label>
            <asp:GridView Font-Size="Small" ID="DefBaseStateGrid" DataKeyNames="ID" runat="server" AutoGenerateColumns="False" CellPadding="2"
                OnInit="DefBaseStateGrid_Init" 
                OnRowEditing="DefBaseStateGrid_RowEditing" 
                OnRowDeleting="DefBaseStateGrid_RowDeleting"
                >
                <Columns>
                    <asp:CommandField ShowEditButton="true" EditText="Modify" >
                        <HeaderStyle BackColor="#000099" BorderColor="Black" ForeColor="White" Font-Bold="false" HorizontalAlign="Left" VerticalAlign="Bottom" Wrap="False" />
                        <ItemStyle BackColor="White" BorderColor="Black" ForeColor="Black" HorizontalAlign="Left" VerticalAlign="Top" Wrap="False" />
                    </asp:CommandField>
                    <asp:BoundField HeaderText="ID" DataField="ID" Visible="false">
                        <HeaderStyle BackColor="#000099" BorderColor="Black" ForeColor="White" Font-Bold="true" HorizontalAlign="Left" VerticalAlign="Bottom" Wrap="False" />
                        <ItemStyle BackColor="White" BorderColor="Black" ForeColor="Black" HorizontalAlign="Left" VerticalAlign="Top" Wrap="False" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="Name" DataField="Name" >
                        <HeaderStyle BackColor="#000099" BorderColor="Black" ForeColor="White" Font-Bold="true" HorizontalAlign="Left" VerticalAlign="Bottom" Wrap="False" />
                        <ItemStyle BackColor="White" BorderColor="Black" ForeColor="Black" HorizontalAlign="Left" VerticalAlign="Top" Wrap="False" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="Value" DataField="Value">
                        <HeaderStyle BackColor="#000099" BorderColor="Black" ForeColor="White" Font-Bold="true" HorizontalAlign="Left" VerticalAlign="Bottom" Wrap="False" />
                        <ItemStyle BackColor="White" BorderColor="Black" ForeColor="Black" HorizontalAlign="Left" VerticalAlign="Top" Wrap="False" />
                    </asp:BoundField>
                    <asp:CommandField ShowDeleteButton="true" >
                        <HeaderStyle BackColor="#000099" BorderColor="Black" ForeColor="White" Font-Bold="false" HorizontalAlign="Left" VerticalAlign="Bottom" Wrap="False" />
                        <ItemStyle BackColor="White" BorderColor="Black" ForeColor="Black" HorizontalAlign="Left" VerticalAlign="Top" Wrap="False" />
                    </asp:CommandField>
                </Columns>
            </asp:GridView>
        </div>
    </div>
    </form>
</body>
</html>
